package org.onepiece.admin.entity.vo;

import com.alibaba.fastjson2.JSON;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 *
 * @author zhujianke@gaodun.com
 * @since 2022/9/9 16:16
 */
@Data
public class SysUserVO implements Serializable {

    private static final long serialVersionUID = 394665554994515777L;

    private Integer id;

    @ApiModelProperty("用户姓名")
    private String username;

    @ApiModelProperty("年龄")
    private Integer age;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
